package com.rayo.accesscontrollercopy.model.db.bean;

/**
 * Created by yanghaojie on 16/7/17.
 */

import com.litesuits.orm.db.annotation.Column;
import com.litesuits.orm.db.annotation.Table;

import java.util.Date;

@Table("reader_table")
public class ReaderData extends BaseModel {
    public static final String CONNECT_BEEP_1 = "connect_beep_1";
    public static final String CONNECT_BEEP_2 = "connect_beep_2";

    @Column(CONNECT_BEEP_1)
    private int connect_beep_1;
    @Column(CONNECT_BEEP_2)
    private int connect_beep_2;
    private int update_beep_1;
    private int update_beep_2;
    private int event_beep_1;
    private int event_beep_2;
    private int error_1;
    private int error_2;

    public ReaderData() {
        this.connect_beep_1 = 0;
        this.connect_beep_2 = 0;
        this.update_beep_1 = 1;
        this.update_beep_2 = 1;
        this.event_beep_1 = 2;
        this.event_beep_2 = 2;
        this.error_1 = 4;
        this.error_2 = 4;
        this.editime = new Date();
    }

    public int getConnect_beep_1() {
        return connect_beep_1;
    }

    public void setConnect_beep_1(int connect_beep_1) {
        this.connect_beep_1 = connect_beep_1;
    }

    public int getConnect_beep_2() {
        return connect_beep_2;
    }

    public void setConnect_beep_2(int connect_beep_2) {
        this.connect_beep_2 = connect_beep_2;
    }

    public int getUpdate_beep_1() {
        return update_beep_1;
    }

    public void setUpdate_beep_1(int update_beep_1) {
        this.update_beep_1 = update_beep_1;
    }

    public int getUpdate_beep_2() {
        return update_beep_2;
    }

    public void setUpdate_beep_2(int update_beep_2) {
        this.update_beep_2 = update_beep_2;
    }

    public int getEvent_beep_1() {
        return event_beep_1;
    }

    public void setEvent_beep_1(int event_beep_1) {
        this.event_beep_1 = event_beep_1;
    }

    public int getEvent_beep_2() {
        return event_beep_2;
    }

    public void setEvent_beep_2(int event_beep_2) {
        this.event_beep_2 = event_beep_2;
    }

    public int getError_1() {
        return error_1;
    }

    public void setError_1(int error_1) {
        this.error_1 = error_1;
    }

    public int getError_2() {
        return error_2;
    }

    public void setError_2(int error_2) {
        this.error_2 = error_2;
    }
}
